package com.lvkerry.orderfood.service;


import com.lvkerry.orderfood.api.ApiBean;
import com.lvkerry.orderfood.entity.UserEntity;
import org.jetbrains.annotations.NotNull;

/**
 * @author Kerry
 */

public interface PersonService {


    ApiBean addPerson(@NotNull UserEntity person);

    ApiBean deletePersonByJobNo(@NotNull String jobNo);

    ApiBean deletePersonById(@NotNull Long id);

    ApiBean updatePerson(@NotNull UserEntity person);

    ApiBean findAllPerson();
}
